using System;
using System.Windows.Forms;

using SBPweb.Modules.Smartparts;

namespace SBPweb.Presentation.Windows.Forms.Controls
{

    internal class BorderStyleConverter
    {

        internal static System.Windows.Forms.FormBorderStyle ModulesBorderStyleToWinFormsBorderStyle(SBPweb.Modules.Smartparts.BorderStyle borderStyle)
        {
            return (System.Windows.Forms.FormBorderStyle)Enum.Parse(typeof(SBPweb.Modules.Smartparts.BorderStyle), borderStyle.ToString());
        }

    }

}